#ifndef NODES_HPP
#define NODES_HPP

#include "behaviortree_cpp_v3/action_node.h"
#include "behaviortree_cpp_v3/bt_factory.h"

class SayHello : public BT::SyncActionNode {
public:
    SayHello(const std::string& name) : BT::SyncActionNode(name, {}) {}

    BT::NodeStatus tick() override {
        std::cout << "hello";
        return BT::NodeStatus::SUCCESS;
    }
};

class SayWorld : public BT::SyncActionNode {
public:
    SayWorld(const std::string& name) : BT::SyncActionNode(name, {}) {}

    BT::NodeStatus tick() override {
        std::cout << "world";
        return BT::NodeStatus::SUCCESS;
    }
};

void RegisterNodes(BT::BehaviorTreeFactory& factory);

#endif // NODES_HPP
